package com.rsy.product.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.rsy.common.utils.PageUtils;
import com.rsy.product.entity.SpuInfoEntity;
import com.rsy.product.vo.SpuSaveVo;

import java.util.Map;

/**
 * spu信息
 *
 * @author rsy
 * @email sunlightcs@gmail.com
 * @date 2022-05-01 00:16:03
 */
public interface SpuInfoService extends IService<SpuInfoEntity> {

    PageUtils queryPage(Map<String, Object> params);

    void saveSpuInfo(SpuSaveVo spuSaveVo);
    //保存商品的基本信息
    void saveBaseSpuInfo(SpuInfoEntity spuInfoEntity);
    //spu检索
    PageUtils queryPageByCondition(Map<String, Object> params);
    //商品上架
    void up(Long spuId);
}

